﻿using System;
using System.Collections.Generic;
using System.Text;


namespace PIM_ATE
{
    [Serializable]
    public class ClsDataConfigLocal
    {
        /// <summary>
        /// 端口提示信息
        /// </summary>
        public string PortTip { get; set; }

        /// <summary>
        /// 测试标识
        /// </summary>
        public bool Enable { get; set; }

        /// <summary>
        /// 保存交调测试产品配置信息， 主键
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 产品代码， 文本
        /// </summary>
        public string ProCode { get; set; }

        /// <summary>
        /// 产品代码， 文本
        /// </summary>
        public int RetSpeed { get; set; }
        /// <summary>
        /// 工艺文件版本
        /// </summary>
        public string FileVer { get; set; }

        #region 流程配置

        /// <summary>
        /// 测试项名称， 文本
        /// </summary>
        public string PIMItemName { get; set; }

        /// <summary>
        /// 测试频段别名
        /// </summary>
        public string BandAlias { get; set; }

        /// <summary>
        /// 调度序列号+测试端口:B1正极，B1负极
        /// </summary>
        public string RCUIndex { get; set; }

        /// <summary>
        /// 测试角度
        /// </summary>
        public int TestAngle { get; set; }

        /// <summary>
        /// 手动调度标识
        /// </summary>
        public bool IsKnock { get; set; }

        /// <summary>
        /// rcu调度标识,-1:不调， 0：手动调度, 1：自动调度(预留，暂时使用IsKnock)
        /// </summary>
        public int RCUFlag { get; set; }

        /// <summary>
        /// 测试序号
        /// </summary>
        public int TestIndex { get; set; }

        /// <summary>
        /// 提示信息
        /// </summary>
        public string Message { get; set; }

        #endregion

        #region 互调配置
        /// <summary>
        /// 是否扫频， 是否
        /// </summary>
        public bool IsSweepTest { get; set; }
        /// <summary>
        /// 阶数 
        /// </summary>
        public int PIMOrder { get; set; }
        /// <summary>
        /// 点频F1频率，文本
        /// </summary>
        public double F1Freq { get;  set; }
        /// <summary>
        /// 点频F2频率， 文本
        /// </summary>
        public double F2Freq { get;  set; }
        /// <summary>
        /// 点频测试PIM点频率
        /// </summary>
        public double PIMFreq { get;  set; }
        /// <summary>
        /// 扫频TX1右边频点
        /// </summary>
        public double TX1H { get;  set; }
        /// <summary>
        /// 扫频TX1左边频点
        /// </summary>
        public double TX1L { get;  set; }
        /// <summary>
        /// 扫频TX2右边频点
        /// </summary>
        public double TX2H { get; set; }
        /// <summary>
        /// 扫频TX2左边频点
        /// </summary>
        public double TX2L { get; set; }
        /// <summary>
        /// 扫频RX右边频点
        /// </summary>
        public double RXH { get; set; }
        /// <summary>
        /// 扫频RX左边频点
        /// </summary>
        public double RXL { get; set; }
        /// <summary>
        /// 步进1
        /// </summary>
        public double TestStep1 { get; set; }
        /// <summary>
        /// 步进2
        /// </summary>
        public double TestStep2 { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public int TestTime { get; set; }
        /// <summary>
        /// 输出功率1
        /// </summary>
        public double F1Power { get; set; }
        /// <summary>
        /// 输出功率2
        /// </summary>
        public double F2Power { get; set; }
        /// <summary>
        /// 测试要求
        /// </summary>
        public string SpecReg { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string SpecUnit { get; set; }

        #endregion

    }
}
